package com.easy.work.http.request;

import com.easy.work.function.mall.bean.SaveAddress;
import com.easy.work.http.BaseRequest;
import com.easy.work.http.BaseResponse;

/**
 * @author zhangfeng
 * @date 2017/12/25
 * @desc 保存收货地址
 */

public class SaveAddressRequest implements BaseRequest {

    public String consigneeId;
    public String userId; //用户ID
    public String name;
    public String phone;
    public String address;
    public String province;
    public String city;
    public String area;
    public String modifier;
    public int isDefault;

    @Override
    public boolean isMap() {
        return false;
    }

    @Override
    public String getUrl() {
        return null;
    }

    @Override
    public String getMethod() {
        return "saveMallConsigneeInfo";
    }

    @Override
    public String getServiceId() {
        return "es.mbMallConsigneeService";
    }

    @Override
    public Class<? extends BaseResponse> getResponseClass() {
        return SaveAddress.class;
    }
}
